package com.rybbaby.tss.front.tssClasses.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.front.tssClasses.dao.ViewTssClassChangeDao;
import com.rybbaby.tss.front.tssClasses.entity.ViewClassesChange;
import com.rybbaby.tss.front.tssClasses.service.ViewTssClassChangeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @description 班级变动表操作
 * 
 * @author 杨然
 * 
 * @createDate 2017年11月8日18:22:55
 */
@Service
@Transactional
public class ViewTssClassChangeServiceImp extends BaseServiceImp<ViewClassesChange> implements ViewTssClassChangeService {

    @Autowired
    private ViewTssClassChangeDao dao;

    @Override
    public List<ViewClassesChange> getAllClassList(Integer type) {
        return dao.getAllList(type);
    }

    @Override
    public List<ViewClassesChange> findByIds(List<String> ids) {
        return dao.findByIds(ids);
    }

}
